<template>
  <h1>test</h1>
<!-- <el-dialog v-model="dialog.visible" title="详细信息" width="70%" top="5vh">
  <el-descriptions border class="px-32px" direction="vertical">
    <el-descriptions-item label="用户名">{{
      postingDetailData?.authorUsername
    }}</el-descriptions-item>
    <el-descriptions-item label="昵称">{{
      postingDetailData?.author
    }}</el-descriptions-item>
    <el-descriptions-item label="标题">{{
      postingDetailData?.title
    }}</el-descriptions-item>
    <el-descriptions-item label="分类">{{
      postingDetailData?.typeName
    }}</el-descriptions-item>
    <el-descriptions-item label="标签"
      ><el-tag v-for="item in postingDetailData?.tag" :key="item" class="mr-8px">
        {{ item }}
      </el-tag></el-descriptions-item
    >
    <el-descriptions-item label="状态">
      <span v-if="postingDetailData?.status === 1"
        ><el-tag type="info" size="large">待审核</el-tag></span
      >
      <span v-else-if="postingDetailData?.status === 2"
        ><el-tag type="success" size="large">审核通过</el-tag></span
      >
      <span v-else-if="postingDetailData?.status === 3"
        ><el-tag type="danger" size="large">内容违规</el-tag></span
      >
    </el-descriptions-item>
    <el-descriptions-item label="可视范围">
      {{ postingDetailData?.visible }}
    </el-descriptions-item>
    <el-descriptions-item label="创建时间">
      {{ postingDetailData?.createTime }}
    </el-descriptions-item>
    <el-descriptions-item label="更新时间">
      {{ postingDetailData?.publishTime }}
    </el-descriptions-item>
    <el-descriptions-item label="封面"
      ><img
        :src="postingDetailData?.coverImage"
        alt=""
        style="width: 180px; height: 100px"
    /></el-descriptions-item>
    <el-descriptions-item label="描述">{{
      postingDetailData?.describe
    }}</el-descriptions-item>
  </el-descriptions>
  <v-md-preview :text="postingDetailData?.content"></v-md-preview>
</el-dialog> -->
</template>